/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package demo909B;

/**
 *
 * @author Administrator
 */
public class StudentTest {
  
    public static void main(String args[]){
        Student sa=new Student();
//        sa.no="123";//error
//        sa.name="li";//error
//        sa.score=-90;//error
       //System.out.println(sa.name);//error
        sa.setNo("123");
        sa.setName("li");
        sa.setScore(-90);
        System.out.println(sa.getName());
        
        
        sa.getInfo();
        
       
    }
    
}
